Simple FABRIK variant for testing.