Designing and manufacturing thermal mass flow meters for biogas engines