Calculating Shadowline Hip and Valley