Dimensional reductions have been added
Remove unnecessary function
Adding missing line to convert data types as necessary
indexing support added in