Implemented LMA model