P0400 you could try checking the EGR hoses for leaks/ EGR valve for function / clean it.
P0440 Could be like gas cap like previous said, or a leak in the Canister/lines.
P0325 I remember hearing those Nissans had bad knock sensor issues usually fixed with replacement.(Of course make sure It works first)