A method of calculation for thermoforming plastics sheets