Test our (P)CGM implementation against Octave's.