updates based on @ehebert review of PR.

- license header added and kwargs removed from errors.py
- isinstance checks removed from rolling transforms.
testing
removed stray line