subdim() to call dim() if passed generic matrix instead of ISM