Changed some code to remove some nans
Another revision
Fixed those nans finally
Merge pull request #3 from xLeachimx/fixing_nan

Changing some code to remove some nans