Enhancing the quality of learning and understanding of first-year mathematics for computer science related majors