Text this: Cost Function Approach for Dynamical Component Analysis: Full Recovery of Mixing and State Matrix