Added protections from overwriting matlab variables accidentally

Signed-off-by: Richard Minerich <richard.minerich@gmail.com>