Typo fix and copyright update
Merge pull request #611 from dbabokin/typos

Typo fix and copyright update
Adding missing typecasts and guarding i64 __mul with compiler version check