refactored spur gear generation

renamed to points instead of path for consistency