Added precision level which rounds the result to the nearest ten. Also, made some instruction wording changes for clarity.
Refactored generated code