small edits
export to Matlab + functions for ue computation