modified time_renderer.m to use arrayfun and ensure all arrays are same size, wrote scalar_timer.m to produce time taken to render each frame