fixed all_magnitudes method
cleaned up and worked out a couple bugs, main runs everything now
big performance inc on inverting/joining, some in scoring