adding FEM stuff (notes + 1d matlab code)