Dev

fixed an error in precision calculation.