Reimplement Prestress calculation