Play with Cauchy-Riemann 'weight matrix'.  Replaced matrix_rank with version I trust more.