how to calculate if a stock is priced right