Yet another attempt to fix this problem (hopefully the last). Resolved a few typos (previous code was adjusting times not values).
Yet another attempt to fix this problem (hopefully the last). Resolved a few typos (previous code was adjusting times not values).