fixed some normalisation and phasing issues