plotreal progress, just need to finish the TD surface bit (comments in code)