More edits; done describing 'Gram matrix' method.