I want to restore my MacBook to factory settings. After I follow the suggested "Command R" and Disk Utility steps, when I try to reinstall OS X (10.10) it says "an error occurred while preparing the installation" and I am prompted to try again. Why is this and how do I fix it?