Fixed the getTimes bug with too few inputs.
Changed the way plots are made.
Fixed a couple bugs wrt the number of input values for a few functions.

Changed the way plots are done.