TwosComplementToFloat:

--------------------------------------------------------------------------
   Converts a two's complement array to float. 
   For example:
    -27 =  TwosComplementToFloat( [1 1 1 0 0 1 0 1],1 )
     28 =  TwosComplementToFloat( [0 0 0 1 1 1 0 0],1 )

   Type TwosComplementToFloat for a demo
--------------------------------------------------------------------------
   Form:
   f = TwosComplementToFloat( b, bigEndian )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   f                       Binary array
   bigEndian               1 == big endian [msb...lsb] else
                           [lsb...msb]

   -------
   Outputs
   -------
   f                       Float

--------------------------------------------------------------------------