Fixed conversion error and added averageing
Removed prints and added sigcont

Prints where only for debug, oops

When process recieves sigcont it resets the list of old values
used to calculate averages discarding smooth points for temporairy
accuracy.