Added the Rodriguez formula to documentation. Now handling special floating point values (e.g. nan's and inf's)