GPU/CGMiner Automated Optimization