Matrix Groups over Q and Z#