Zero crossing rate implemented.

Signed-off-by: Eduardo Tenorio <embatbr@gmail.com>