Not sure what is happening but here is the code:
\end{minipage} % ends minipage containing algorithm2e
\lipsum[2]
\begin{wrapfigure}{l}{0.3\linewidth}
\ExecuteMetaData[Chapters/3_Concept/4_PAaP/Algorithms.tex]{alg:shapeEdgy}
\end{wrapfigure}
\lipsum[2]
I would, of course, like to force it down onto the next page instead of whatever it is doing.
EDIT:
Found half an answer shortly after posting sry...
Here is the post I found: Handling of wrapfig pictures in LaTeX
By changing l to L I removed the previous error, but instead the algorithm now is on top of one of my images...
EDIT 2:
I made another change from the earlier link, which for some reason works to some degree:
\begin{wrapfigure}{L}{0.3\linewidth}
\ExecuteMetaData[Chapters/3_Concept/4_PAaP/Algorithms.tex]{alg:shapeEdgy}
\vspace{-20pt}
\end{wrapfigure}

