fixed typo
completed first version of AMEE algorithm. pretty slow and would like to improve it.
added code to visualize results from AMEE algorithm