Fixes major bug on tests :ant: :ant: :ant: :ant: :ant:

Matrix must be initialized before final number of variable is set:
After adding current variables!!!

Tests were crashing at Windows:
It was initializing the matrix doubles as 9.25596e+061!!! :elephant:
Adds test for current amplifier stamp