Added get_brightness, modified internal brightness to double to avoid crazy floaty imprecision