Essential mathematics for games and interactive applications