math_samples fixes for spells, consequent spell balancing