Moved max to built-in, almost done w/ math sect.

Moved Max function to built-in of eigen, almost completed main loop
of iMad algorithm. Still need to decide how to finish the section
for updating via weighted iterations.