Towards a noncommutative geometric approach to matrix compactification