Science with a Pulsar Timing Array Detector