GPU accelerated spring simulation