Changed mean to projection onto column of ones