Fixed easing functions, which were always taking the same amount of time
Adding documentation