clog<<fixed<<setprecision(6)<<"DEBUG: Days has a value of "<<days<<" hoursLeft has a value of "<<hoursLeft<<" while seconds has value of: "<<seconds<<endl;
}
//days += (seconds / 86400);
days+=hoursLeft/24;
days-=1;
days+=0.5;
if(DEBUG){
clog<<"DEBUG: Days has a value of "<<days<<" hoursLeft has a value of "<<hoursLeft<<" while seconds has value of: "<<seconds<<endl;
clog<<fixed<<setprecision(10)<<"DEBUG: hourAngle has a value of: "<<hourAngle<<endl
<<"DEBUG: temp has a value of: "<<temp<<" and the arcsine of temp is: "<<asin(temp)<<endl
<<"DEBUG: sigma then has a value of: "<<sigma*(180/M_PI)<<endl
<<"DEBUG: alpha has a value of: "<<alpha<<" which means that the LST is: "<<(GMST(year,hours)*15-Long)<<" and the hour angle is "<<hourAngle<<" and the arccos of the hour angle is: "<<acos(hourAngle)*(180/M_PI)<<endl;
<<"DEBUG: alpha has a value of: "<<alpha<<" which means that the LST is: "<<(GMST(year,hours)*15-Long)<<" and the hour angle is "<<hourAngle<<" and the arccos of the hour angle is: "<<asin(hourAngle)*(180/M_PI)<<endl;
//clog << "DEBUG: alpha has a value of: " << alpha << " and sigma has a value of: " << sigma * (180 / M_PI)<< endl;
}
raAndDecPair.first=alpha;
raAndDecPair.second=sigma*(180/M_PI);
if(DEBUG){
clog<<"DEBUG: The final point is: ("<<raAndDecPair.first<<","<<raAndDecPair.second<<")."<<endl;
cout<<"The algorithm function, when its January 27, 2017, at 5:45:54 pm, at a lat and long of -46,89 and when looking at the sky at 20, 270 (in horizontal coordinates), gives: "<<endl
<<"Right ascention of: "<<returnValue.first<<" and a declination of: "<<returnValue.second<<endl;