changed amdp to return the true X matrix for the rows represented by the amdp object.