Changed the normalisation scaling to double precision rather than single.