def calculate_matrix_position(df, upstream_bound):
    """Create new columns for the positions of features in feature matrix. 
    """
    df['mtx_start'] = df['rel_start'] + upstream_bound
    df['mtx_end'] = df['rel_end'] + upstream_bound
    return df