add golden ratio function