Add simple profiler
Elimenate Kernel#nil? calls

Low hanging fruit to speed up Estimator#query by 17%.