make Matrix support element types other than Fraction