Convert Matlab Code to Julia 1.0

Perhaps you misunderstood something — instead of suggesting it, I was specifically arguing against using tools like this.