Update tables and inserts in db_main.sql
Update function to execute formula
Add more function to sequence class
Add some function called in learnpath files -refs #7220