Protein Function Prediction Using Local 3D Templates