DEV: Add function to compute yield of bond from price