Constraining nuclear matter parameters with GW170817