A Geometry-Based Method for Protein Structure Representation Using Triangular Spatial Relationship in 3D and Its Application Towards Clustering and Motif Discovery