Checking number format added. Scale can now take arguments in any order. Added functions to ui.