made get_mag(0 and get_phase() work on any size.
added write_3darray() method and a load from file method.

all new methods work on columns and return columns.

added a makedirs() call to config.