Implements flat line check
Use numpy.testing functions in tests
Merge pull request #10 from benjwadams/add_flat_line_test

Implements flat line check