Connections between Gravity, Magnetism and Electricity