average_face demo now uses new type conversion functions