Weighting is now more or less implemented.
Finished code for weighting bones
Corrected previous commit, and added error message

In the previous commit, the loop to assign bone references properly was
removed by mistake. This has now been added back in.

An error message is now reported when the GLA file cannot be read.