Solved bug at matrix.h, when creating a slice