Refs #39. Fixing range bounds for calculation.
Refs #40. Changing version number and code.