Initial commit of basic functions for looking time analysis