moved sample_H method to EP_Base
removed sample_H method
streamlined map_trajectory function
minor changes