- switched pitch to be not linear but cubic (smoother control)
- removed unneccessary calculations and functions
- code cleanup (removed some magic numbers)