An flexible MRPSO implemetation in CUDA