Mismatch in number of dimensions declared and found

much obliged! thanks!