BUG

Something is wrong with ModifiedAvg and I can't figure out what.