Electromagnetic parameter retrieval from inhomogeneous metamaterials | Synapse