cleanEventTimes function

Find Nearest Event for Each Time Step and Clean Time Steps to Avoid Doubles