added a new overload to calculateSourcesSinksEntryPoints which accepts dedicated source and sink lists