Use Number instead of Integer in some linalg operations