Matlab tools for options