Added matrix dimenensions