Theoretical analysis of a measles model with nonlinear incidence functions