Make load_block_2d Matlab-compatible, see last commit for usage