msd code works in blocks now, bugs fixed, moving on to other analysis