Speeding up finance algorithms for GPUs