adding copyright, removing dead code
Merge pull request #367 from pdehaan/linterrors

adding copyright, removing dead code