Added function to find v and f phase given % amplitude input