Mathlab interface added.