Add license headers to Matlab functions