Added scaling factor to magnitude calculations