private static TransferFunction getTransferFunction
(ComponentTransferFunction function){
TransferFunction txfFunc = null;
if(function == null){
txfFunc = new IdentityTransfer();
}
else{
switch(function.getType()){
case ComponentTransferFunction.IDENTITY:
txfFunc = new IdentityTransfer();
break;
case ComponentTransferFunction.TABLE:
txfFunc = new TableTransfer(tableFloatToInt(function.getTableValues()));
break;
case ComponentTransferFunction.DISCRETE: