Java solar positioning code