Add math_log/1 and inverse/1 patterns to catch 0.0

inverse/1 bombs on 0.0.

```
1> bear:scan_values([0.039,0.001,0.00,0.028]).
** exception error: an error occurred when evaluating an arithmetic expression
     in function  bear:scan_values/2
     in call from lists:zip/2
```