Factorization of boundary value problems using the invariant embedding method. (2016)