Thanks for the quick reply! That does seem like the best way and I’ll give it a shot. I was originally thinking that at low time scales recalculating it might lead to inaccurate results. However I decided to test what the error would be on doing it that way and its working just fine. Thanks again.