Starting to implement software autorange
Primitive autorange now working
Simple autorange now decently working