Inverted all xs and ys

Tensors are contiguous by rows and not by columns
Removing unnecessary coding overhead
Updating and bugfixing the GUI

The file does NOT to be executable
The window's width was way to narrow
QLineEdit was used instead of QLabel
Fixing indentation, removing garbage and empty lines
Added documetation
Merge pull request #12 from Atcold/patch-1

Inverted all xs and ys