Adapting Particle Filter Algorithms to the GPU Architecture