replace cumprod with prod
add requirement for numpy