+ fixed some index bugs in the weights calculation
drwxr-xr-x - QPalmaDP
drwxr-xr-x - python
drwxr-xr-x - tools