Discuss the factors that contributes to a resting membrane potential.