Added plane fitting