Improving Pulse Sensor Accuracy?

If anyone has used the Pulse sensor amped in the past, I am looking to improve it's accuracy. I've tried the code that comes with it on github, and I have looked all over the internet but I can't seem to find anything. I'm currently using the code from http://www.instructables.com/id/Pulse-Sensor-With-Bluetooth-and-Arduino/

Any help is appreciated.
Thanks y'all:)

What is your problem exactly?

What "accuracy" do you want to improve, and to what level?

Just the BPM, it can calculate it for a while, but then it hikes up to like the 180's

Instructables is usually one of the worst places to look for advice, and the one you linked is no exception. You could just as well start over.

I'm happy with the accuracy of the pulse sensor. Remember that it takes the average of the last 10 beats.
That reading of 180 must be due to the pressure you apply to the sensor. It is very sensitive to the pressure you apply.

I'm working in a project that takes the IBI (real-time) and finds the Maximum and Minimum values, and their difference, and plots it as a bar graph. This is what is called Heart Rate Variability). (More information please Google HRV, heart rate variability).