added yield calculation from investment