Fixed time calculation bug, moved cycle time code into util class and added reset UI button
Changed layouts from linear to relative