updated analy.py; mkdir analysis dir automatically if it doesn't exist
start writing prep.py, improved init_hdf5 in transform.py