Try this:
Make a Yosemite Install USB Drive
1. Grab a USB flash drive that's at least 8GB
2. Download Yosemite from the app store (should download to your Applications folder (named Install OS X Yosemite app). The install app will launch automatically after download, but Quit it, do not install yet.
3. Open Disk Utility and do the following:
-highlight the USB drive in the left column
-click on the Partition tab
-select "1 Partition"
-click “Options" and select GUID Partition Table
-under name just type: USB (it will be renamed later)
-under format choose "Mac OS Extended (Journaled)"
-click “Apply" and “Partition"
4. Now open terminal (found under utilities) and paste the following into it:
sudo /Applications/Install\ OS\ X\ Yosemite.app/Contents/Resources/createinstallmedia --volume /Volumes/USB --applicationpath /Applications/Install\ OS\ X\ Yosemite.app --no interaction
-just paste that into Terminal and hit enter, it should ask for your password and then the OS will create factory restore media from the USB stick and the Yosemite installer you downloaded from the app store (Note: can take 30-45min depending on speed of flash drive so don't remove the USB drive or exit terminal until it says it's finished)
5. To boot into the installer, just restart the computer and then hold down the “Option" key during boot to bring up the boot menu
-select the Yosemite installer from the boot menu (can take quite awhile to load)
-if it's a new SSD or you want a “clean install”
-Launch Disk Utility
-highlight the SSD drive in the left column
-click on the partition tab
-select "1 Partition"
-click “Options" and select GUID Partition Table
-under name just type: Macintosh HD (or your choice of names)
-under format choose "Mac OS Extended (Journaled)"
-click “Apply" and “Partition"
-if the drive has another OS installed on it, just open disk utility and Erase it
The above will install a factory fresh (just like you get with a brand new Mac) copy of Yosemite.