updated matlab script to reflect camelCase refactoring