Switched Math.round to Math.floor for rand int generator