fatal bug in anomarous resistivity calculation