Yes, in my opinion it would be more useful if the optional parameter was the exponent. Nevertheless, thanks for the fixes. They´ve helped me a lot.
Javi