Merge pull request #395 from Therzok/master

[CodeIssues] Add simplified versions Math functions.
Optimize some Linq.