script working, now using all train errors and step-like test errors
cleaned up script with functional abstraction
more changes to plot script - have yet to do matplotlib