Various programs and algorithms implemented in matlab