fix bug for big.matrix objects, updated to bracket indexing