Basic MATLAB driver for testing.