init_formula_cache function

Create formula cache