Added median matrix area problem