Perfect intonation is impossible on guitar without a different nut (and even then I think it's impossible, but my knowledge about temperement is very limited). You can get close, tough. I can't be of much help if you have a Floyd trem, but if a strat style trem, to adjust intonation you have to adjust the screws under the saddles (the ones aligned with the strings).