Binary Fixed Point calculations with Ruby