Fixed small mistake in polynomial equation calculations during MLP.