#4 database update

added parameters table, and some minor changes
#2 minor changes
#1 got parameters in formulas now

and minor repairs