Lossing power

Hi I have got a 197
Having trouble with power loss
One minute it's got full power then next it hasn't
But if I turn it off and back on
The power comes back
Used a code reader come with lots of different codes p0300
P0010 and p2075
Have changed cam position sensor
Changed map sensor
So don't know what else to do
Any one had similar problems
Just fitted in new exhaust and had defazor pulley and timing belt and water pump done
Thanks
 
Solenoid valve for dephaser? p0010 says solenoid valve control circuit, could be wires or solenoid itself. Why did you change cam position sensor?