created checks on the rangelog10 function to verify that the inputs and outputs are correct