Added matlab algorithm prototype code to the new doc folder