Precalculus: An Investigation of Functions