It's too broad to say all algorithms should not be patentable. Amazon's one click buy and page rank are obvious to "those skilled in the arts" but there are plenty of algorithms that should be patentable. The problem is that the uspto doesn't properly get an expert consensus on obviousness.