Median for same timestamp

Signed-off-by: oleg komarov <o.komarov11@imperial.ac.uk>
Merge branch 'master' of https://github.com/okomarov/HFbetas into dev

Conflicts:
	Analyze.m
	Tests.m