Submodular Observation Selection and Information Gathering for Quadratic Models