Changed some things to the calculation algorithm
Merge pull request #11 from isholgueras/master

Changed some things to the algorithm.