First MATLAB assignment done. Need to fix the gaussian.