Creating function for averaging gpa's, other small edits