Prediction of protein functions from tertiary structure of proteins together with evolutionary perspective