Re-implemented fixed-point number class.