Added support for 'wrap'

This adds support for the 'wrap' setting.  Needed this setting to test
out some other motion commands that need to be added
Added support for g0 and g$