changed GUI to reflect when det/inverse doesn't work for matrix