Fixed issues with reduce
Version 0.3.0