Also use you palm to mute the strings, Playing clean lines is a time consuming technique, basically, it's the one you work on all your life, since a new line will never be clean... When you can play what you hear in your head instantaneously, AND cleanly, then you're a master...