Now flooring in calc_g and energy.

Also, great improvements in bee_e and grid calcs

Unfortunately, we are still having problems for highly expressed genes and high
dimensions.