Added function to compute average face vector