Added note on nearest() in input setup
Added comment on simplified algorithm and start of actual implementation