A variational approach to the eigenfunctions of the one particle relativistic Hamiltonian