Version 1 of the algorithm detecting plastics and plastic types!