Math2Mat: Automatic generation of synthesizable VHDL from Octave/Matlab