Added new condition to avoid problems with empty reference field
Merge pull request #71 from ThomasBesselmann/patch-1

Added new condition to avoid problems with empty reference field
Added BitDeli badge info
no error for discretized differential equations anymore related to code generation, although the correct integration method should be chosen by the user
Fixed the Simulink CGT example
Minor fix in the CGT closed loop Simulink example