Fixed a slight type problem

process() was returning an integer when it should have been returning a
double. This has been fixed