Mathematics a foundation course