Investigate performance loss in PGI in !17
This merge generalized the hidden layers evaluation. Unfortunately comes with a large performance hit in PGI version without MKL and with Jacobians. Arguably the least important use-case though, so merging anyway. Only relevant if JETTO ever moves to a fully implicit solver ;)