Changed pdist to euclidean (to differentiate alignment scores) and removed thresholding of matrix. Only get max of each row anyway.
Changed pdist to euclidean as well. Only get top scoring functions for each domain. Union functions. Return table rows and protFunc matrix
Misc. backup