Added methods for precision.
Asserted not to accept negative precision values.
Merge branch 'release/1.0.2'