Probing nonclassicality with matrices of phase-space distributions