Method of Finite Elements I: Shape Functions