Fixed bug in generalized method - now results are exactly equivalent