got the findDate function to successfully iterate through all the
different thetas. Output to a file if you need to search them