SelectSubMatrix implemented but NOT tested