Sfem-4dp: A Strain-Based Finite Element Model for 4d Printing