Error and normalisation code updated