Added in performance measures.
Added in simple plotting.