[Calc] Fix important regression involving powers and decimals.

For example, attempts to define f(x)=0.25^x would failed.
Fix issue 187: incorrect variations of some functions in Tablatex module.
Add test for fixed issue 249 (Tablatex module).