misc matlab files, feel free to contribute