Predicting the elastic properties of lattice materials, a geometrically nonlinear approach