A computationally-efficient method for flamelet calculations