pytables and some formulas