Global Variable (Value Read Serially from Matlab) Becomes 0