Fixed bug wherein the live monitor was always one epoch behind.
Added documentation.
Added check for pyplot.