Curvature and conformal collineations in presence of matter