Why do students make mistakes in mathematics?