Corrected unit conversion bug #16

Unit conversion function was not being called and contained an error.
Added significant figures variable, which can later be made
customizable.