Added matrix product method