matrix init tested