matlab version detection

use Matlab verLessThan function rather than my own implementation.