Fix writedlm error
small change to example