Trying to debug the Segfault-3 : Making the arrays C-contiguous