Fundamentals of electrical measurements