Sequential functionality recovered after converting to arrays & cuda