Pwm from npn seen on anlog input

So i hooked up my scope to the circuit, i am finding about a 31.4 to 90ish mV noise on the analog input to the arduino.

I am wondering if the problem is more power supply related, i am not seeing the pattern i thought i saw related to the pwm. Any ideas how to clean that up any more?

Also something else that i noticed was the sizeable spike coming from the due pwm output once and a while. should i be concerned? i am but not sure if i should be.

Thanks