Added matrix set zero implementation.