An analytical approach to machining deviation due to fixturing