Local geometry of surfaces in $\mathbf R^4$