adding documentation for precision, fixes #98
bug fixes