modifying bilayer.cpp to implement the internal-external parameter transformation suggested by MINUIT library.