feature matching improved

-processing time from 17 minutes to 3 minutes
- colour detection using kmeans
- updated random pattern generator