Added switches and logic to check for local BCH installs of
MatLAB.