Added answer for list vs matrix