Working code added for all of evaluate. Still major need for comments
and overall explanation of code.
Stuff