Support matrices and vectors for Simulink

Further, added the information for Simulink that only double
as input is supported and fixed the casting from float to double.
Even without explicitly stating that the input must be double,
Simulink assumes double so float was not correct!

Signed-off-by: Shahbaz Youssefi <ShabbyX@gmail.com>