Simplify input and fix spring force calculation
go version