Made function to get residual time of previous dive

That way the post dive pressure group is calculated correctly using the
residual time from the last dive plus the bottom time chosen by the
user.