fixing bug in torch-iplimage conversion, now aware of memory alignment in iplimage