Skip redundant computations by checking for NaN. Closes #4
Merge branch 'master' into benchmark
simplified benchmark for now
collapsed main loops. first attempt at fixing #10
Merge branch 'master' into benchmark