added code for histogram-from-above out of ensemble trajectories; now takes 1hr20min to run