Two Variable Function Matlab Code Aires