Removed sources of warnings and renamed method to use camel case
Switched to use new ND slice