updated DLM test for sizes of matrices