Four Colchester Royal Grammar School students have reached the finals of an international maths modelling competition.