Change order of divide,real to real,divide, slightly more efficient.
Change order of divide,real to real,divide, slightly more efficient.
Remove non-necessary vars
More tidying