Added realtime feature, waitbar, and new giu options to Matlab Code

Just take a quick look when you have the time and comment please.