An automatic 3D facial landmarking algorithm using 2D gabor wavelets