it is possible you have a stuck valve, or other top end issues, but from what I have heard the 3.1 isnt even worth troubleshooting...
Just go get a decent engine from a junkyard, or research the 3800 swap..
Cant be that hard, it was an option for your car, so its gotta be pretty easy..