Value weighting in ideology matching (1/2)
Created new variables to allow each ideology to have a different weight for different values. This is done because some ideologies, like anarcho-capitalism, have little to nothing to do with society, while others, such as fascism, are very tradition-oriented.
Actually, this is an excellent idea, and I'm a little ashamed I didn't think of it during my initial implementation! This solves a number of issues I had while trying to calibrate ideologies. I'll look it over and see about including it.
I'd like to apologize for some of the poorly-commented code you had to dig through. I would also like to apologize for the magic number 1.73856063 that I used to calibrate the axes. I have literally no idea how I calculated that.
One thing I'd like to bring up, though, is that you need to be careful with the weights to make sure that certain ideologies don't return systematically lower scores because they have lower weights. This could possibly be remedied by affecting how the final distance is calculated; I'll think on it a bit and see if i can come up with a decent formula.