make eigsy and eighe global functions