Cast ewma parameter as float. Fixes #53.

While we're at it, change half-life parameter to much more reasonable
default value.