improved ohmCalc