A wireless orientation sensor using magnetoquasistatic fields and complex image theory