Added furhter documentation.
Added doc for matlab wrapper.