Added row() and column() to shared matrices