Change plot statements so vectors are turned into lists first.
Made changes to notebook to keep up with the notebook requirements of matplotlib.