Linear prior on pixel weights now working