Spring Potential Energy Calculator