Spring Energy Formula