Mathematical Tools In Computer Graphics With C# Implementations