Fixed a bug affecting lepCosTheta
Major restoration to the unfolding tests