public List<Material> Wastage(int ME) {
        List<Material> wastage;
        wastage = new ArrayList<Material>();
        for (int i = 0; i < Materials.size(); i++) {
            Material mat;
            mat = new Material();
            mat.ProductID = Materials.get(i).ProductID;
            mat.ProductName = Materials.get(i).ProductName;
            mat.MaterialID = Materials.get(i).MaterialID;
            mat.MaterialName = Materials.get(i).MaterialName;
            mat.PerfectAmount = round(Materials.get(i).PerfectAmount
                    * (WasteFactor / 100.0f) * (1.0f / (1.0f + ME)));
            wastage.add(mat);
        }
        return wastage;
    }