initial version of nvmuldiv() array mul/div function for CPU and GPU