Added Sieving and some math