Corrected celestial coordinates conversion and magniture to mass

Signed-off-by: Paulo Roberto Urio <jimmyskull@gmail.com>