Remove "function_period_unit" from columns and add "period_unit" to formulas.
Add "period" parameter to methods "get_law_period" & "get_variable_period" of formulas.