Development of Reference Tools for Medium Voltage Measurements in Smart Grids