added line to calculate secondstage rec frewuncy dpending on depth resolution.

BeamformationVer4.m not wokring for low frequencies thou'
added beam profile plot