work for #50.
Improved player movement performance.
Reworked the dash distance and dash time to now be dash distance and dash speed in which the dash time is automatically calculated.
The distance now works properly. However, the speed and distance numbers seem kind of high, so something may be wrong still.
There are still minor optimizations I have to make before merging this.