Fixing zerosvec
ProgressBar and getTerminalSize in matlab desktop