Merge BSP computation

Add `bsp_interface.m` file which creates an interface for the outputs of
the BSP computation from `bsp_arg.m` file with the dynamics calculation
functions' inputs.

Add `segments.m` file which is used to get the names of the different
segments.

Update other files with minor modifications.