Effect of Random Inhomogeneities on Electrical and Galvanomagnetic Measurements