Updated procedures

Pending database creation, saving of file and infinite procedures.

Also, need to create a second script to convert output to csv file for
early plotting of results.