Added function to set cpu frequency