3D head morphable models and beyond: algorithms and applications