Added in condition for moving motor to idle status.
Got rid of warning.
Now leave the steps alone and store a steps taken variable.
Can now support triangle movement patterns.
Now calculate when to start deacclerating.
Made the deacceleration actually adjust the speed.
Added in case for deaccelerating after some constant speed action.
Cleaned up the state changing code for the motor movement.