Distributed storage network. Matlab implementation