Put back the math code also for attiny84.

It does work in the end, the problem was that Arduino came with
too old avr-gcc, which triggered a bug on tiny cores as soon as
the resulting code was >= 4kB. Compiles fine with newer avr-gcc.