Fix some extra warnings, make note about bad vectorization
Add copyright notices to code