removed unnecessary glPopMatrix
Added decay factor as a config param