Added parameters to control directionality.  Created keystroke shortcuts for setting pattern direction.