added nAxesGeneratorPos from old ocl/motion_control
minor changes