Added parabolas.py, to see if optimization works

....on an easier to understand executive function for which the "right"
answer is already known.

Updated calc_weights to include functions for finding the minimum of
parabolas, and they seem to work just fine.