Statistical Models of Linear and Nonlinear Contextual Interactions in Early Visual Processing