Unified Clear-Sky Solar Prediction Algorithm