Respecting this not only because of the good coding, but of the mathematical skills too - i couldn\'t figure this out actually.