A Technical Critique of Some Parts of the Free Energy Principle