Move import outside of formulas and cleanup code.
Add return to gipa formula.
Remove duplicate "+".
Use period.date instead of period.start in "age" formula.