Accurate diagnosis of conformal arrays from near-field data using the matrix method