Removed optim toolbox dependencies from camera