Realization Theory and Algorithms