moved scale calculations into their own namespace