A vertical spring with stiffness k originally is at rest with no mass attached. Then, a mass M is attached, and the spring rocks back and forth until it is at rest at a new equilibrium position. What is this position in terms of g, M, and k?