Fixed a typo in both documentation and code. The word 'labes' is used instead of 'labels'

As stated in the title, I fixed a typo which has found it's way into code and documentation. This pull request fixes it and I really hope that no serious consequences have happened this far, because typos tend to create unmaintainable code