Remove left-over commented out code.
Refactor search_cu_intra.

- Formatted.
- Renamed and consolidated variables.
- Removed unused x and y pos from intra_prediction function.