Making a module for discrete trigonometric least squares approximations.