[Add] Additional beta checks, with on returns etc...

Signed-off-by: Oleg Komarov <o.komarov11@imperial.ac.uk>
[Add] makeMasterFile from data *.mat files

Signed-off-by: Oleg Komarov <o.komarov11@imperial.ac.uk>