New method of analysing self-avoiding walks in four dimensions