adding helper function to get the C type of a mass eigenvector
compactify printout function by transposing vectors