Now using (hard) floating-point and trigonometric functions.

Increase stack to 2k (was 256 bytes, too little when using float).