Update to Parity lib

Renamed parity_success -> parity result
Used np arrays instead of list comprehensions