Programming Techniques for Finite Element Analyses