added hist2D function, and function to send pushover notifications from matlab