- optimized waypoint-smoothing/optimization
- added comments for waypoint-smoothing/optimization
- switched to an enum for directions