Fixed some mathy things
Added support for 'selections' in magnitude bin stuff