SMS: Finite elements: an introduction to the method and error estimation