I am not an expert by any means, but it sound like the thottle postion adjustment is not correct or there is a bad throttle position sensor. That is strange that your car won't rev past 1,300 rpm. Will the car rev past 1,300 rpm when you raise it under the hood by moving the throttle linkage?
-Drew
-Drew