implemented reduced LS fitting for M=100, needs exact weight calc