fixed tgrid function; updated python docs
moved readme to markdown