Corrected a few steps of the process.

Some steps were wrong--out of place, it wasn't plotting.