Fixed a problem in getEventsFromAngles (used in OG event detection) where it would fail if there were NaN samples for the markers.