Added ability to specify samples per chip > 1