
Cleaned up some of the comments and documentation for the functions. Renamed some variables and moved parts of the error handling logging into a subfunction.
Cleaned up some of the comments and documentation for the functions. Renamed some variables and moved parts of the error handling logging into a subfunction.