Lecture notes on calculus