Complex Functions: An Algebraic and Geometric Viewpoint