The Concept of Matter in Greek and Medieval Philosophy