Cleaning up errors, starting scaled arithmetic