FIX: Fixed problem to remove temp file in windows
Fixed the problem of creation of matrix when using the button create surface