Ricci tensor with six collineations