Symbolic Manipulation Program (SMP) -Algebraic Codes for Two and Three Dimensional Finite Element Formulations