Implements flat line check

```
np.testing.assert_allclose
```

http://docs.scipy.org/doc/numpy/reference/generated/numpy.testing.assert_allclose.html#numpy.testing.assert_allclose

Be very careful of floating point comparisons. They are very dangerous.