Project Average

Getting 3d numpy array to work - now other projections need to be fixed
Some other minor bugfixes along the way