Higher Order Polynomial Demosaicing